package com.bigtotoro.shuiyincamera;

import android.os.Bundle;
import android.widget.TextView;

import com.bigtotoro.shuiyincamera.util.StatusBarUtil;
import com.bigtotoro.shuiyincamera.util.SystemUtils;
import com.umeng.analytics.MobclickAgent;


//关于我们
public class AboutUsActivity extends BaseActivity {

    private TextView tv_version;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_about);
        StatusBarUtil.setTranslucentForImageView(this, findViewById(R.id.view_need_offset01));

        initBase();
        tv_version = findViewById(R.id.tv_version);
        String  currentVersion = SystemUtils.getVersion();
        tv_version.setText("v"+currentVersion);
    }

    @Override
    public void onResume() {
        super.onResume();
        MobclickAgent.onPageStart("AboutUsActivity");//统计页面
        MobclickAgent.onResume(this);
    }
    @Override
    public void onPause() {
        super.onPause();
        MobclickAgent.onPageEnd("AboutUsActivity");//统计页面
        MobclickAgent.onPause(this);
    }

}
